package cn.kgc.ubagnet.service.order;

import cn.kgc.ubagnet.pojo.Order;
import cn.kgc.ubagnet.pojo.OrderProImgDetailAddress;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OrderService {
    //添加/修改
    public int Ordersave(Order order);
    //查询订单页面
    public List<OrderProImgDetailAddress> OrderListBydetailid(Long detailiid);
    //我的订单页面
    public PageInfo<OrderProImgDetailAddress> OrderPageInfoBytype(Integer userid, Integer status, Integer pageNum, Integer pageSize);
    //根据id查询订单
    public Order OrderById(Integer id);
}
